ArcGIS Runtime SDK for WPF - Library Reference
GetServiceAsync(String,GPServiceType,Int32,Action<LocalGeoprocessingService>) Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalGeoprocessingService Class > GetServiceAsync Method : GetServiceAsync(String,GPServiceType,Int32,Action<LocalGeoprocessingService>) Method

path
serviceType
maxRecords
callback
This will either reuse an existing service for the supplied path, or make a new service if its not already running.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub GetServiceAsync( _
   ByVal path As String, _
   ByVal serviceType As GPServiceType, _
   ByVal maxRecords As Integer, _
   ByVal callback As Action(Of LocalGeoprocessingService) _
) 
C# 
public static void GetServiceAsync( 
   string path,
   GPServiceType serviceType,
   int maxRecords,
   Action<LocalGeoprocessingService> callback
)

Parameters

path
serviceType
maxRecords
callback

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.